//
//  THSMTableViewCell.m
//  自定义collectionView
//
//  Created by apple on 15-1-15.
//  Copyright (c) 2015年 apple. All rights reserved.
//

#import "THSMTableViewCell.h"
//退货 换货说明 TableViewCell
@implementation THSMTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier andTitle:(NSString * )titleStr
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.backgroundColor = RGBA(236, 236, 236, 1);
        
        UIView * view = [[UIView alloc]initWithFrame:CGRectMake(0, 0, __MainScreen_Width, 44)];
        [self addSubview:view];
        view.backgroundColor = [UIColor whiteColor];
        view.layer.borderColor = [UIColor lightGrayColor].CGColor;
        view.layer.borderWidth = 0.5;
        
        UILabel * telLab = [[UILabel alloc]initWithFrame:CGRectMake(10,10, 200, 25)];
        [self addSubview:telLab];
        telLab.text = titleStr;
        telLab.font = [UIFont fontWithName:nil size:15];//@"Helvetica-Bold"
//        telLab.textColor = [UIColor lightGrayColor];
//        telLab.backgroundColor = kColorOrange;
        
        UIImageView * imgView = [[UIImageView alloc]initWithFrame:CGRectMake(view.frame.size.width-55, 5,35 ,35)];
        [self addSubview:imgView];
        imgView.image = [UIImage imageNamed:@"zuixin_back_icon_03"];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
